package com.cloudbroker.bcs.platform.dav.middle.service;

import com.cloudbroker.bcs.common.service.base.ServiceBase;
import com.cloudbroker.bcs.platform.dav.bizapi.service.export.vo.request.MassMessageForm;
import com.cloudbroker.bcs.platform.dav.middle.entity.MassMessage;

import java.util.List;

/**
 * Created by wangxu13798 on 2016/7/27.
 */
public interface MassMessageService extends ServiceBase<MassMessage, String> {
    public Integer getCount(Long broker_id);

    public List<MassMessage> getAllByBroker(Long broker_id,Integer page_no,Integer page_size);

    public void asyncMass(List<String> list, String accessToken, MassMessageForm form, Long broker_id,Integer tenant_id);
}
